package demo5;

public class TestStudent {
    public static void main(String[] args) {
        Student stu = new Student();

        stu.setName("李树强");
        stu.setAge(222);
        stu.setMale(true);

        System.out.println("姓名："+stu.getName()+"年龄是："+ stu.getAge()+"性别是男的？"+ stu.isMale());
    }
}
